import React from 'react'
import Father from './Father'
import context from './context'
export default function Grandfather() {
    function findMother(monther) {
        console.log('monther', monther)
    }
    return (
        <div>
            <context.Provider value={{ name: '张三', age: 12, findMother }}>
                <h1>Context</h1>
                <Father></Father>
            </context.Provider>
        </div>
    )
}
